import { Injectable} from '@angular/core';

/**
 * Configuration service for the NgbTabset component.
 * You can inject this service, typically in your root component, and customize the values of its properties in
 * order to provide default values for all the tabsets used in the application.
 */
@Injectable()
export class NgsPanelConfig {

}

export type crumbsFunc = (data:any) => void;

export interface NgsPanelOption {
	crumbs: Array<NgsPanelCrumbsOption> | any;
    buttons?: Array<NgsPanelBtnOption>;
}

export interface NgsPanelCrumbsOption {
	text: string;
	action?: crumbsFunc;
}

export interface NgsPanelBtnOption {
    text: string;
    style?: string;
    hidden?:boolean;
    action: () => void;
}

